home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / Sessions / Traut / ZStrings / Source / Win32 / Win32ZStringExtractTool.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-06-23  |  1.4 KB  |  52 lines

  1. /*==================================================================
  2.     File:        Win32ZStringExtractTool.cpp
  3.  
  4.     Contains:    Tool for extracting ZString information from
  5.                 a binary on Windows
  6.  
  7.     Written by:    Nalini Prakash
  8.  
  9.     Copyright:    2000-2001 Connectix Corporation
  10.     
  11.     This source has been placed into the public domain by
  12.     Connectix Corporation. You have the right to modify, 
  13.     distribute or use this code without any legal limitations
  14.     or finanicial/licensing requirements. Connectix is not 
  15.     liable for any problems that result from the use of this 
  16.     code.
  17.     
  18.     If you have comments, feedback, questions, or would like
  19.     to submit bug fixes or updates to this code, please email
  20.     opensource@connectix.com.
  21. ==================================================================*/
  22.  
  23. #if !defined(AFX_WIN32ZSTRINGEXTRACTTOOL_H__F1F2257C_844B_49AD_ABF9_2B26BEE98A3C__INCLUDED_)
  24. #define AFX_WIN32ZSTRINGEXTRACTTOOL_H__F1F2257C_844B_49AD_ABF9_2B26BEE98A3C__INCLUDED_
  25.  
  26. #if _MSC_VER > 1000
  27. #pragma once
  28. #endif // _MSC_VER > 1000
  29.  
  30. #include "ZStringData.h"
  31.  
  32. class Win32ZStringExtractTool  
  33. {
  34. public:
  35.     Win32ZStringExtractTool();
  36.     virtual ~Win32ZStringExtractTool();
  37.  
  38.     bool
  39.     ExtractZStrings(
  40.         CString            inSrcFile,
  41.         CString            inDestFile,
  42.         ZToolOptions    inOptions);
  43.  
  44. private:    
  45.     HANDLE                mNewFile;
  46.     HANDLE                mNewMemFile;
  47.     char *                mNewBinaryImage;
  48. };
  49.  
  50. #endif // !defined(AFX_WIN32ZSTRINGEXTRACTTOOL_H__F1F2257C_844B_49AD_ABF9_2B26BEE98A3C__INCLUDED_)
  51.  
  52.